//
//  DrawingUtilities.h
//  turfwars
//
//  Created by Jim Heising on 1/10/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface DrawingUtilities : NSObject {

}

+(void)drawAquaOverlay: (CGContextRef)contextRef :(CGRect)rect;
+(void)drawAquaOverlayWithColor: (CGContextRef)contextRef :(CGRect)rect :(UIColor*)hiliteColor :(float)hiliteFillPercentage;
+(void)drawRoundedAquaOverlayWithColor: (CGContextRef)contextRef :(CGRect)rect :(UIColor*)hiliteColor :(float)hiliteFillPercentage;
+(void)drawAquaOverlayWithAlpha: (CGContextRef)contextRef :(CGRect)rect :(float)alpha;
+(void)drawRoundedAquaOverlayWithAlpha: (CGContextRef)contextRef :(CGRect)rect :(float)alpha;
+(UIColor*)uiColorFromHexColorString:(NSString*)hexString;
+(void)createRoundedRectPath:(CGContextRef)contextRef :(CGRect)rect :(float)cornerRadius;

+(void)drawAquaView:(CGContextRef)context :(CGRect)rect :(UIColor*)backgroundColor :(UIColor*)hiliteColor :(UIColor*)borderColor :(int)borderWidth :(int)cornerRadius :(float)hiliteFillPercentage :(BOOL)drawRounded :(BOOL)drawReversed;

+(void)drawShadow:(CGContextRef)context :(CGRect)rect :(float)offsetX :(float)offsetY :(int)distance :(int)cornerRadius;

@end
